import request from "../request.js";
//查询所有分类
function findAllCategory(data){
	return request({
		url:'/lejuClient/productCategory/findAllCategory',
	data:data
	})
}
//根据id查询分类
function findCategory(id,data){
	return request({
		url:`/lejuClient/productCategory/findCategory/${id}`,
		data:data
	})
}

export{
	findAllCategory,findCategory
}

